<?php

namespace app\common\library;


class Base
{
    const VERSION = '6.0.5';

    public static $instance ;

    /**
     * @title 单例调用
     * @description 单例调用
     * @author Admin ldy
     * @time 2018/9/25  12:22
     */
    public static function getInstance(){
        if (Base::$instance == null){
            Base::$instance = new \app\common\library\Base;
            return Base::$instance;
        }else{
            return Base::$instance;
        }
    }

    public function __construct(){
        //初始化
    }



}
